package com.yunkaweilai.android.model.home;

import java.util.List;

public class RecordListBean {
    public int loginCode;
    public int code;
    public String message;
    public data data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public RecordListBean.data getData() {
        return data;
    }

    public void setData(RecordListBean.data data) {
        this.data = data;
    }

    public class data {
        private List<list> list; //数据列表
        private page page; //页数
        private String TitleName; //列表名称
        private int order_count; //列表数量
        private String order_payment; //
        private String order_spayment; //
        private boolean is_pay; //  是否支付
        private boolean is_gift; // 是否礼物
        private boolean is_refund; // 是否退款

        public List<RecordListBean.data.list> getList() {
            return list;
        }

        public void setList(List<RecordListBean.data.list> list) {
            this.list = list;
        }

        public data.page getPage() {
            return page;
        }

        public void setPage(data.page page) {
            this.page = page;
        }

        public String getTitleName() {
            return TitleName;
        }

        public void setTitleName(String titleName) {
            TitleName = titleName;
        }

        public int getOrder_count() {
            return order_count;
        }

        public void setOrder_count(int order_count) {
            this.order_count = order_count;
        }

        public String getOrder_payment() {
            return order_payment;
        }

        public void setOrder_payment(String order_payment) {
            this.order_payment = order_payment;
        }

        public String getOrder_spayment() {
            return order_spayment;
        }

        public void setOrder_spayment(String order_spayment) {
            this.order_spayment = order_spayment;
        }

        public boolean isIs_pay() {
            return is_pay;
        }

        public void setIs_pay(boolean is_pay) {
            this.is_pay = is_pay;
        }

        public boolean isIs_gift() {
            return is_gift;
        }

        public void setIs_gift(boolean is_gift) {
            this.is_gift = is_gift;
        }

        public boolean isIs_refund() {
            return is_refund;
        }

        public void setIs_refund(boolean is_refund) {
            this.is_refund = is_refund;
        }

        public class page {
            private int totalPages; //总页数
            private int firstRow;
            private int listRows;
            private int currpage; //当前页
            private String count;  //总数
            private boolean next; //是否有下页
            private boolean prev; //是否有上页

            public int getTotalPages() {
                return totalPages;
            }

            public void setTotalPages(int totalPages) {
                this.totalPages = totalPages;
            }

            public int getFirstRow() {
                return firstRow;
            }

            public void setFirstRow(int firstRow) {
                this.firstRow = firstRow;
            }

            public int getListRows() {
                return listRows;
            }

            public void setListRows(int listRows) {
                this.listRows = listRows;
            }

            public int getCurrpage() {
                return currpage;
            }

            public void setCurrpage(int currpage) {
                this.currpage = currpage;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public boolean isNext() {
                return next;
            }

            public void setNext(boolean next) {
                this.next = next;
            }

            public boolean isPrev() {
                return prev;
            }

            public void setPrev(boolean prev) {
                this.prev = prev;
            }
        }

        public class list {

            // is_pay=true时的参数
            private String tid;                     // 订单号
            private String consume_time;            // 消费时间
            private String payment_type;            // 支付方式
            private String member_id;               // 顾客类型
            private String member_name;             // 顾客名字
            private String level_name;              // 会员等级
            private String z_discount_price;        // 应收金额
            private String z_goods_price;           // 应收金额
            private String s_payment;               // 实收金额
            private String StrGoodsList;            // 商品列表
            private String Strrecharge_type;        // 充值类型
            private String Strconsume_type;         // 消费类型
            private boolean IsRefund;               // 消费记录是否有退款

            // is_gift=true的参数 membername levelname
            private String card_no;                 // 卡号
            private String create_time;             // 兑换时间
            private String points;                  // 积分变动
            private String source;                  // 变动类型
            private String x_points;                // 变动积分结果
            private String StrPoints;               // 积分变动
            private String StrGiftList;             // 积分兑换列表

            // is_refund=true;   tid memberid membername
            private String refund_tid;              // 退款订单号
            private String refund_time;             // 退款时间
            private String refund_content;          // 退款方式
            private String refund_order_points;     // 减少积分
            private String refund_remark;           // 退款备注
            private String refund_cash;             // 退还现金
            private String refund_balance;          // 退还余额
            private String refund_wechat;           // 退还微信
            private String refund_alipay;           // 退还阿里
            private String refund_points;           //
            private String refund_other;            // 退还其他
            private String refund_type;             // 退还类型

            public String getRefund_type() {
                return refund_type;
            }

            public String getZ_goods_price() {
                return z_goods_price;
            }

            public void setZ_goods_price(String z_goods_price) {
                this.z_goods_price = z_goods_price;
            }

            public void setRefund_type(String refund_type) {
                this.refund_type = refund_type;
            }

            public boolean isRefund() {
                return IsRefund;
            }

            public String getRefund_cash() {
                return refund_cash;
            }

            public void setRefund_cash(String refund_cash) {
                this.refund_cash = refund_cash;
            }

            public String getRefund_balance() {
                return refund_balance;
            }

            public void setRefund_balance(String refund_balance) {
                this.refund_balance = refund_balance;
            }

            public String getRefund_wechat() {
                return refund_wechat;
            }

            public void setRefund_wechat(String refund_wechat) {
                this.refund_wechat = refund_wechat;
            }

            public String getRefund_alipay() {
                return refund_alipay;
            }

            public void setRefund_alipay(String refund_alipay) {
                this.refund_alipay = refund_alipay;
            }

            public String getRefund_points() {
                return refund_points;
            }

            public void setRefund_points(String refund_points) {
                this.refund_points = refund_points;
            }

            public String getRefund_other() {
                return refund_other;
            }

            public void setRefund_other(String refund_other) {
                this.refund_other = refund_other;
            }

            public void setRefund(boolean refund) {
                IsRefund = refund;
            }

            public String getStrGiftList() {
                return StrGiftList;
            }

            public void setStrGiftList(String strGiftList) {
                StrGiftList = strGiftList;
            }

            public String getRefund_remark() {
                return refund_remark;
            }

            public void setRefund_remark(String refund_remark) {
                this.refund_remark = refund_remark;
            }

            public String getStrPoints() {
                return StrPoints;
            }

            public void setStrPoints(String strPoints) {
                StrPoints = strPoints;
            }

            public String getTid() {
                return tid;
            }

            public String getStrconsume_type() {
                return Strconsume_type;
            }

            public void setStrconsume_type(String strconsume_type) {
                Strconsume_type = strconsume_type;
            }

            public String getStrrecharge_type() {
                return Strrecharge_type;
            }

            public void setStrrecharge_type(String strrecharge_type) {
                Strrecharge_type = strrecharge_type;
            }

            public void setTid(String tid) {
                this.tid = tid;
            }

            public String getConsume_time() {
                return consume_time;
            }

            public void setConsume_time(String consume_time) {
                this.consume_time = consume_time;
            }

            public String getPayment_type() {
                return payment_type;
            }

            public void setPayment_type(String payment_type) {
                this.payment_type = payment_type;
            }

            public String getMember_id() {
                return member_id;
            }

            public void setMember_id(String member_id) {
                this.member_id = member_id;
            }

            public String getMember_name() {
                return member_name;
            }

            public void setMember_name(String member_name) {
                this.member_name = member_name;
            }

            public String getLevel_name() {
                return level_name;
            }

            public void setLevel_name(String level_name) {
                this.level_name = level_name;
            }

            public String getZ_discount_price() {
                return z_discount_price;
            }

            public void setZ_discount_price(String z_discount_price) {
                this.z_discount_price = z_discount_price;
            }

            public String getS_payment() {
                return s_payment;
            }

            public void setS_payment(String s_payment) {
                this.s_payment = s_payment;
            }

            public String getStrGoodsList() {
                return StrGoodsList;
            }

            public void setStrGoodsList(String strGoodsList) {
                StrGoodsList = strGoodsList;
            }

            public String getCard_no() {
                return card_no;
            }

            public void setCard_no(String card_no) {
                this.card_no = card_no;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getPoints() {
                return points;
            }

            public void setPoints(String points) {
                this.points = points;
            }

            public String getSource() {
                return source;
            }

            public void setSource(String source) {
                this.source = source;
            }

            public String getX_points() {
                return x_points;
            }

            public void setX_points(String x_points) {
                this.x_points = x_points;
            }

            public String getRefund_tid() {
                return refund_tid;
            }

            public void setRefund_tid(String refund_tid) {
                this.refund_tid = refund_tid;
            }

            public String getRefund_time() {
                return refund_time;
            }

            public void setRefund_time(String refund_time) {
                this.refund_time = refund_time;
            }

            public String getRefund_content() {
                return refund_content;
            }

            public void setRefund_content(String refund_content) {
                this.refund_content = refund_content;
            }

            public String getRefund_order_points() {
                return refund_order_points;
            }

            public void setRefund_order_points(String refund_order_points) {
                this.refund_order_points = refund_order_points;
            }
        }
    }


}
